import { PureComponent } from 'react'
import SingleTable from 'components/table/index'
import { Input, Button } from 'antd'
import styles from './wareHouse.less'
export default class WareHouse extends PureComponent {
    render(){
        const dataList = []
        const columns = [
        {
            key: 'gmtCreate',
            title: '仓库ID',
            dataIndex: 'gmtCreate',
            align: 'center',
        },
        {
            key: 'operationTypeName',
            title: '仓库编号',
            dataIndex: 'operationTypeName',
            align: 'center',
        },
        {
            key: 'creatorName',
            title: '仓库名称',
            dataIndex: 'creatorName',
            align: 'center',
        },
        {
            key: '4',
            title: '站点ID',
            dataIndex: 'creatorName',
            align: 'center',
        },
        {
            key: '5',
            title: '站点名称',
            dataIndex: 'creatorName',
            align: 'center',
        },
        {
            key: '6',
            title: '仓库电话',
            dataIndex: 'creatorName',
            align: 'center',
        },
        {
            key: '7',
            title: '仓库地址',
            dataIndex: 'creatorName',
            align: 'center',
        }
        ]
        return(
            <div className={styles.wareHouse}>
                <div className={styles.wareHouseBox}>
                    <h2>仓库</h2>
                </div>
                <div className={styles.wareHouseSerach}>
                    <div className={styles.wareHouseSin}>
                        <span className={styles.wareHouseSpan}>站点名称：</span>
                        <Input className={styles.wareHouseInput} />
                    </div>
                </div>
                <Button type="primary" icon="search" style={{margin: '0 0 24px 24px'}}>查询</Button>
                <div className={styles.wareHouseTable}>
                   <SingleTable
                    data={{ list: dataList }}
                    columns={columns}
                    
                    />
                </div>
            </div>
        )
    }
}